package com.hnqcgczy.gp.dao;

import com.hnqcgczy.gp.db.MyTransaction;
import com.hnqcgczy.gp.vo.TUser;

import java.sql.SQLException;

public class UserDaolmpl implements IUserDao{
    private MyTransaction myTransaction;
    public UserDaolmpl(MyTransaction myTransaction){this.myTransaction = myTransaction;}


    @Override
    public boolean getUserByName(String realname) throws SQLException {
        return false;
    }

    @Override
    public boolean save(String name, String password) throws SQLException {
        return false;
    }

    @Override
    public TUser login(String username, String passwodr, int role) throws SQLException {
        return null;
    }
}
